const bindClick = () => {
  console.log('click');
  var xhr = new plus.net.XMLHttpRequest();

  const code = '007540';
  const url_1 =
    `https://ms.jr.jd.com/gw/generic/jj/h5/m/getFundHistoryNetValuePageInfo?reqData={"fundCode":"${code}","pageNum":1,"pageSize":300,"channel":"9"}`;

  xhr.open('GET', url_1);

  xhr.onreadystatechange = function() {
    if (xhr.readyState === 4) {
      if (xhr.status === 200) {
        try {
          const responseJson = JSON.parse(xhr.responseText);
          console.log('Parsed JSON:', responseJson);
        } catch (error) {
          console.error('Failed to parse JSON:', error);
        }
      } else {
        console.error('Request failed. Status:', xhr.status);
      }
    }
  };

  xhr.send();
};